export const platformName = uni.getSystemInfoSync().uniPlatform;

let APP_NAME = '美景阅读';
if (platformName === 'web') {
  APP_NAME = '好赞阅读';
}

let BASE_URL = 'https://mbookv2.lantingshucheng.com';
if (process.env.NODE_ENV === 'development') {
  BASE_URL = 'http://localhost:5000';
}
export { BASE_URL, APP_NAME };
export const MP_APP_ID = 'wx0409a1ea32f33141';
export const DEFAULT_BOOK_IMAGE = 'https://picture-1256514897.file.myqcloud.com/book/codes/default-book-img.png';
export const LOGO_URL_OLD = 'https://picture-1256514897.file.myqcloud.com/book/codes/logo.jpeg'; // 美景阅读
export const LOGO_URL_NEW = 'https://picture-1256514897.file.myqcloud.com/book/codes/logo.jpg'; // 好赞阅读
